package com.jbinfo.mongoot.operation.plan;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * Created by wizard on 2017/4/5.
 */
@Document(collection="service_plan")
public class ServicePlan {

    @Id
    private String id;
    private String oldid;//老人身份证号
    private String plan_start_time; //计划开始时间
    private String plan_end_time;//计划结束时间
    private String service_project;//服务项目 // 医护 、家政、站点、志愿陪伴
    private String service_code;//服务项目编码
    private Long Plan_duration;//计划时长(服务时长）
    private Long service_duration;//已服务时长；
    private Long rest_time;//剩余时长;
    private String  invalid;//服务计划状态

    private String created_by;//创建人
    private String create_date;
    private String update_by;
    private String update_date;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOldid() {
        return oldid;
    }

    public void setOldid(String oldid) {
        this.oldid = oldid;
    }

    public String getPlan_start_time() {
        return plan_start_time;
    }

    public void setPlan_start_time(String plan_start_time) {
        this.plan_start_time = plan_start_time;
    }

    public String getPlan_end_time() {
        return plan_end_time;
    }

    public void setPlan_end_time(String plan_end_time) {
        this.plan_end_time = plan_end_time;
    }

    public String getService_project() {
        return service_project;
    }

    public void setService_project(String service_project) {
        this.service_project = service_project;
    }

    public String getService_code() {
        return service_code;
    }

    public void setService_code(String service_code) {
        this.service_code = service_code;
    }

    public Long getPlan_duration() {
        return Plan_duration;
    }

    public void setPlan_duration(Long plan_duration) {
        Plan_duration = plan_duration;
    }

    public Long getService_duration() {
        return service_duration;
    }

    public void setService_duration(Long service_duration) {
        this.service_duration = service_duration;
    }

    public Long getRest_time() {
        return rest_time;
    }

    public void setRest_time(Long rest_time) {
        this.rest_time = rest_time;
    }

    public String getInvalid() {
        return invalid;
    }

    public void setInvalid(String invalid) {
        this.invalid = invalid;
    }

    public String getCreated_by() {
        return created_by;
    }

    public void setCreated_by(String created_by) {
        this.created_by = created_by;
    }

    public String getCreate_date() {
        return create_date;
    }

    public void setCreate_date(String create_date) {
        this.create_date = create_date;
    }

    public String getUpdate_by() {
        return update_by;
    }

    public void setUpdate_by(String update_by) {
        this.update_by = update_by;
    }

    public String getUpdate_date() {
        return update_date;
    }

    public void setUpdate_date(String update_date) {
        this.update_date = update_date;
    }
}
